Gasochromic switching of tungsten oxide films: a correlation between film properties and coloration kinetics