Modelization of resistive heating of carbon nanotubes during field emission