Magnitude 6 earthquake strikes off western US coast