Localized turbulence in pipe flow