Environmental Regulations, Transfers, and Trade: Theory and Evidence