Study: More people dying at home, less at hospital