The genetic basis of endometriosis and comorbidity with other pain and inflammatory conditions