Neurophysiological mechanisms of pain and its quantitative assessment in endometriosis