Risk prediction in multicentre studies when there is confounding by cluster or informative cluster size