The energy regulator Ofgem warns the UK is at risk of gas shortages this winter.