Carbon pricing and endogenous human capital accumulation