Dopant induced changes in structural and optical properties of Cr3+ doped TiO2 nanoparticles