Economic strain, education and attitudes towards foreigners in the European Union