Symplectic forms in the theory of solitons