Magnitude 6.1 quake shakes Japan's capital