Ab initio exploration of d0 digital magnetic heterostructures: the case of MgO and CaO δ-doped with potassium