6.2 quake hits central Japan, flattens houses