Thousands flee as Typhoon Vamco nears Vietnam