Memory functions in relation to electroencephalographic changes in temporal-lobe epileptic patients