Comparison of psychiatric comorbidities and impact on quality of life in patients with epilepsy or psychogenic nonepileptic spells