IT departments waste energy, survey finds