Pollution, the cost of public funds and endogenous growth