Munich gunman raised locally, had no ties to Islamic state -police