Magnitude 8.2 quake off Alaska prompts tsunami warning