Defining and predicting functional outcome in schizophrenia and schizophrenia spectrum disorders