Negative feedback by gonadotropins on which endocrine glands prevent the release of FSH and LH, either directly or indirectly?