Magnitude 6.9 quake hits northern Japan