Metabolism and growth adaptation to environmental conditions in Drosophila