Quantum mechanics of topological solitons