Stable Manifolds and the Transition to Turbulence in Pipe Flow