The photon-assisted dynamic nuclear polarization effect in a double quantum dot