Large enhancement of third-order nonlinear effects with a resonant all-dielectric metasurface