A deep learning algorithm for automatic detection and classification of acute intracranial hemorrhages in head CT scans