How is myoclonic epilepsy diagnosed?