Waveguide superconducting single-photon detectors for integrated quantum photonic circuits