6.5-magnitude quake strikes northern Japan