Synthesis of chitosan/TCN nanocomposites with the carbon dioxide assisted phase inversion