Halogen-bonded photoresponsive materials