Canonical transformations in quantum field theory and solitons