Text this: Simulation of field emission from carbon nanotubes using time-dependent density functional theory and the effect of nitrogen and boron doping