Risk factors for ectopic pregnancy. A population-based study.