Development of biocompatible and “smart” porous structures using CO2-assisted processes