UK energy companies get billions to take clients of failed rivals