Porous nanomaterials for biomedical applications