Participation and Duration of Environmental Agreements