Role of leptin and ghrelin in the regulation of gonadal function