Free-riding, carbon treaties, and trade wars: the role of domestic environmental policies