Cognitive Function Improvements Mediate Exercise Intervention Effects on Physical Performance in Acutely Hospitalized Older Adults.