The Effects of Factor Taxation in Dynamic Economies with Externalities and Endogenous Labor Supply