Stable single-photon detection based on Si-avalanche photodiode in a large temperature variation range