Which? has revealed the energy providers that ranked the highest, based on a customer survey and its own assessment of firms' practices.