Classification of antimicrobial mechanism of action using bacterial time-lapse imaging