Solvochromic and photodimerization behaviour of 1D coordination polymer via single-crystal-to-single-crystal transformation.