Chemical-induced changes in the optical properties of aromatic amino acid lattices in protein polymers