Post-Newtonian $\ensuremath\gamma$-like parameters and the gravitational slip in scalar-tensor and $f(R)$ theories