German energy firm E.On has agreed to buy rival Ovo to create one of Britain’s largest suppliers, the companies have said