Layer-by-layer technique for producing porous nanostructured 3D constructs using moldable freeform assembly of spherical templates.