Chaotic Tides in Migrating Gas Giants: Forming Hot and Transient Warm Jupiters via Lidov-Kozai Migration