Scientists discover key cause of pain for women with endometriosis