Study: Hospitals accounting for community-benefit spending