Voting for pollution policy: the importance of income inequality and openness to trade