Patterning porous networks through self-assembly of programmed biomacromolecules.