Biomimetic engineering of the molecular recognition and self-assembly of peptides and proteins via halogenation