Conservation Laws in the Quantum Theory: cos phi in Two-Dimensions and in the Massive Thirring Model