Ofgem publishes report into its regulation of the energy market