Effect of substrate on thermal conductivity of single-walled carbon nanotubes