How quality improvement collaboratives work to improve healthcare in care homes: a realist evaluation