Cognitive deterioration and duration of untreated psychosis