Explaining the barriers to and tensions in delivering effective healthcare in UK care homes: a qualitative study