Endocrine regulation of aging and reproduction in Drosophila