Ed Miliband has said he will be able to bypass local opposition to onshore wind farms as Energy Secretary under plans to decarbonise the grid.