Diffractive J/ψ photoproduction as a probe of the gluon density