Determinants of quality of life in epilepsy