Impact of degree of substitution of quaternary cellulose on the adsorption on charged surfaces and associated thermodynamics