Quadrupole effects on the motion of extended bodies in Schwarzschild spacetime