Comparing algorithms for deriving psychosis diagnoses from longitudinal administrative clinical records