The impact of socioeconomic and anamnestic characteristics on quality of life and sexual function in women with endometriosis.