New approach to the quaternization of chitosan and its amphiphilic derivatives