A comparative study of obsessive–compulsive disorder and other psychiatric comorbidities in patients with temporal lobe epilepsy and idiopathic generalized epilepsy