Photochromism in WO3 thin films