Extension of the optical absorption range of TiO2 thin films by chromium and cadmium doping