Measurement of critical concentration for mesophase formation of chitosan derivatives in both aqueous and organic solutions