Evaluation of the combination of magnetic resonance imaging and artificial intelligence in the diagnosis of endometriosis: a cross-sectional study