Measurement of diffractive dijet production at the Fermilab Tevatron