Endocrine network essential for reproductive success in Drosophila melanogaster