Energy bill payers have been promised more protections and better customer service as part of plans to reform the regulator Ofgem.