Resilience of functional networks: A potential indicator for classifying bipolar disorder and schizophrenia