UK households could save almost £400 a year on heating bills with a heat pump if electricity costs were reduced, analysis has found.