Labour's energy policy is making Britain an example of how not to tackle climate change, a leading economist has warned.