Battery state-of-charge estimation using machine learning analysis of ultrasonic signatures