An African island nation known for beautiful beaches is now a global leader in cutting greenhouse gases