The UK could save £12bn a year by introducing new regulatory measures to boost local energy production and building efficiency.