How does formal and informal community care affect nursing home use?