Psychological variables and quality of life in women with endometriosis