Relationship between obstetric outcome and psychological measures in pregnancy and the postnatal year