Mechanical motion in crystals triggered by solid state photochemical [2+2] cycloaddition reaction.