Theory of droplet size distribution measurements in emulsions using ultrasonic spectroscopy