A study of the risk factors related to ectopic pregnancy in intrauterine device users