Insightful understanding of the role of clay topology on the stability of biomimetic hybrid chitosan-clay thin films and CO2-dried porous aerogel microspheres