Tunisia hotel gunman trained in Libya jihadist camp: government