Magnitude 6.2 quake strikes off Japan