Influence of Ni doping on the structural, optical and textural properties of TiO2 nanocrystals prepared via an ultrasound assisted sol–gel method