Separation of dose-gradient effect from beam-hardening effect on wedge factors in photon fields.