Identification of patients with epilepsy using automated electronic health records phenotyping