Tuning the band gap of M-doped titanate nanotubes (M = Fe, Co, Ni, and Cu): an experimental and theoretical study