Households face a winter squeeze from energy bills as regulator Ofgem raised the price cap to a three-year high.