Influence of temperature on dynamics of birefringence switching in photochromic nematic phase