Electrical, optical and gas sensing properties of BaxSr1-xTiO3 thin films prepared by sol-gel process