Gunman takes hostages at Texas synagogue