Japan's Emperor Naruhito and Empress Masako have visited the remote island of Ioto to pay their respects to soldiers and civilians who died there in World War Two.