Open 3-manifolds whose fundamental groups have infinite center, and a torus theorem for 3-orbifolds