Development of an ultrasonic pulse interferometer and determination of the elastic constants of some crystals