Biological Production of Spatially Organized Functional Materials