Longitudinal clinical and functional outcome in distinct cognitive subgroups of first-episode psychosis: a cluster analysis