Raychaudhuri equation in spacetimes with torsion