Intergenerational and intragenerational preferences in a developing country to avoid climate change