Electrical transport, microstructure and optical properties of Cr-doped In2O3 thin film prepared by sol–gel method