Diagnostis and treatment of menstrual disorders and sterility