Evaluation of prognostic indices in elderly hospitalized patients