The Impact of Technological Change on Inequality, Health and Crime: Evidence from Thailand