Diffractive dijet photoproduction at HERA