what is it called when an organism is able to maintain a stable internal environment despite changing external conditions?