Ultrasonic absorption constant in liquids by an improved optical method