The dynamics of the photochromic effect in tungsten trioxide