The biological basis of medical treatment of endometriosis