Derivation of the equations of motion of a gyroscope from the quantum theory of gravitation