German energy giant Eon has confirmed it will buy challenger Ovo in a deal that will create Britain's largest energy supplier.