Alterations in white matter network dynamics in patients with schizophrenia and bipolar disorder