Chemical structure and physico-chemical properties of agar