Ghana stun Japan to progress