Identification of cognitive phenotypes in temporal lobe epilepsy and genetic generalized epilepsy using robotic assessment.