Intrinsic quantum efficiency and electro-thermal model of a superconducting nanowire single-photon detector