Typhoon kills 5 in N Korea, 3 in S Korea