The effect of foreign investments on European regional productivity