Electric and Magnetic Fluxes in SU(2) Yang-Mills Theory