An exact completely positive programming formulation for the discrete ordered median problem: an extended version