Optimal tax schemes and the environmental externality