Vortices in unified theories of weak and electromagnetic interactions