Toronto shooting: gunman had history of psychosis and depression, family says