On-Chip Fabrication of Carbon Nanoparticle–Chitosan Composite Membrane