Thousands flee as 'super typhoon' Dujuan nears Taiwan