The role of risk factors in the incidence and recurrence of ectopic pregnancy