Effect of substrate pre-treatment on controllable synthesis of hexagonal WO3 nanorod arrays and their electrochromic properties