Calculated magnetic properties of co-doped CdTe(V, P): First-principles calculations