The corpus luteum secretes progesterone and estradiol to promote thickening of the endometrium, in preparation for pregnancy.