Photoinduced transformations in pyrochlore and trirutile phases of HTaWO6