Typhoon leaves 2 dead in Japan; thousands evacuated