The association of hysterectomy and menopause: a prospective cohort study