Energy-Aware Design of Multilayer Core Networks