In situ investigations of the phase change behaviour of tungsten oxide nanostructures