The changing pattern of contraceptive use and pregnancies in four generations of young women