Toroidal compactification and symmetry breaking in open-string theories