Nested toroidal flux surfaces in magnetohydrostatics. Generation via soliton theory