China confirms Japanese national detained on suspicion of spying