Assembly of histidine-rich protein materials controlled through divalent cations.