Background factors of ectopic pregnancy. II. Risk estimation by means of a logistic model