Survival analysis of fertility after ectopic pregnancy