Competitiveness, FDI and technological activity in East Asia