Association of antipsychotic treatment switching in patients with schizophrenia, bipolar, and major depressive disorders