Template-mediated growth of tungsten oxide with different morphologies for electrochemical application