Brain network mechanisms of visual perceptual organization in schizophrenia and bipolar disorder