Technological Change and the Consequences of Job Loss