Cycle and hormone changes during perimenopause: the key role of ovarian function