The effect of the flattening filter on photoneutron production at 10 MV in the Varian TrueBeam linear accelerator