A Chitosan Derivative Containing Both Carboxylic Acid and Quaternary Ammonium Moieties for the Synthesis of Cyclic Carbonates.