Cooperation and Competition Impact Environmental Action: An Experimental Study in Social Dilemmas