The energy price cap will rise by 4% from Thursday for a typical household in England, Scotland and Wales.