The Nonlinear Schrödinger Equation with U(p,q) Internal Symmetry and the Sine-Gordon Equation