BARGMANN INVARIANTS, NULL PHASE CURVES, AND A THEORY OF THE GEOMETRIC PHASE