relation between ovulation and menstruation