Real-time automated detection of clonic seizures in newborns