Analysis of the Yukawa gravitational potential in f (R) gravity. I. Semiclassical periastron advance