Superconducting nanowire single-photon detectors: Intrinsic quantum efficiency vs. thickness of NbN films