The association of body mass index with endometriosis and disease severity in women with pain