Clinical and morphological features of endometrial pathologies during the perimenopausal period