4D gravity on a brane from bulk higher-curvature terms