Political economy of environmental policy with overlapping generations