An algorithm for the automatic detection of seizures in neonatal amplitude‐integrated EEG