The relationship between sleep and epilepsy: the effect on cognitive functioning in children