Dying in the community: general practitioner treatment of community-based patients analysed by chart audit