Energy awareness in the design of optical core networks