Spain ranked worst on energy efficiency