Boron doping effects in electrochromic properties of NiO films prepared by sol-gel