Mental health and functional outcomes in young adulthood of children with psychotic symptoms: a longitudinal cohort study