What function is defined as the exchange of matter and energy between an organism and its environment?