Simulation of scanning tunneling spectroscopy of supported carbon nanotubes