Ed Miliband has been named Labour's Shadow Secretary of State for Climate Change and Net Zero