Topological symmetry breaking in ϕ4 theories on toroidal spacetime