A note on optimal taxation in the presence of externalities