Geometric symmetry breaking and the Weinberg-Salam model