Long-distance ranging with high precision using a soliton microcomb