Strain-induced changes in the band gap of doped carbon nanotubes