An Analysis of Energy-Efficient Approaches Used for Virtual Machines and Data Centres