Cognitive deficits in subjects at risk for psychosis, first-episode and chronic schizophrenia patients