Cognitive functioning and positive and negative symptoms in schizophrenia