Tailoring of structural, optical and electrical properties of anatase TiO2 via doping of cobalt and nitrogen ions