Depression and unwanted first pregnancy: longitudinal cohort study