The government has axed the Department of Energy and Climate Change (Decc) in a major departmental shake-up.