A feasible and accurate technique for determining the time-of-flight in ultrasonic distance measurements