Some chitin/chitosan derivatives for corrosion protection and waste water treatments