Variations in the lattice parameter of porous silicon produced by wetting and vapour adsorption