menstrual cycle hormones and functions