Photoproduction of dijets with high transverse momenta at HERA