Maximum-likelihood detection of neonatal clonic seizures by video image processing