Associations between birth at, or after, 41 weeks gestation and perinatal encephalopathy: a cohort study