On the regularity of smooth production economies with externalities: Competitive equilibrium à la Nash