Ultrasonic displacement sensor