Correlation between endometriosis-associated dysmenorrhea and the presence of typical or atypical lesions