Two dead after typhoon batters Japan