Prediction of adverse health outcomes using an electronic frailty index among nonfrail and prefrail community elders