Direct photon cross sections in proton-proton and antiproton-proton interactions at root s=24.3 GeV