Efficacy and safety of intrauterine insemination in patients with moderate-to-severe endometriosis.