Artificial intelligence algorithms turn mobile devices into accurate accident detection, driver monitoring, and personal safety telematic platforms for the transportation sector