Exporting, foreign direct investment and firm heterogeneity in Thailand