Tailoring the Structure of Chitosan-Based Porous Carbon Nanofiber Architectures toward Efficient Capacitive Charge Storage and Capacitive Deionization.