Patterns of functional decline at the end of life.