Galaxy–galaxy weak gravitational lensing in $f(R)$ gravity