An earthquake with a magnitude of 6.9 has struck off the coast of Fukushima in Japan. A tsunami warning for waves of up to three metres (10 feet) was issued.