Surface-effect corrections for solar-like oscillations using 3D hydrodynamical simulations