Intracranial pressure wave morphological classification: automated analysis and clinical validation