Neuropsychological functioning in early and chronic stages of schizophrenia and psychotic bipolar disorder