Matching mechanism in global public goods games: a case of climate protection