Factors predicting prognosis of epilepsy after presentation with seizures