Porous biomaterials and scaffolds for tissue engineering