Dynamic and Static Cognitive Deficits in Schizophrenia and Bipolar Disorder After the First Episode