N-methylene phosphonic chitosan. Effect of preparation methods on its properties