Globalization and the Welfare State. Testing the Microfoundations of the Compensation Hypothesis