Intrinsic detection efficiency of superconducting nanowire single-photon detectors with different thicknesses