Involvement of immune cells in the pathogenesis of endometriosis