Recursive evaluation of the real-time path integral for dissipative systems. The spin-boson model