A theoretical basis for the environmental Kuznets curve