Gravitational lensing in fourth-order gravity