Halogen Bonding versus Hydrogen Bonding in Driving Self-Assembly and Performance of Light-Responsive Supramolecular Polymers