Deviation equation in Riemann-Cartan spacetime