Santa Monica gunman previously hospitalized for mental health