Households using heat pumps use only half the amount of imported energy as those with gas boilers, new analysis has found.