Effect of erbium-doping concentration on the electrical, structural and morphological properties of heterostructures based on TiO2 thin films