Analysis of the Cost and Energy Efficiency of Future Hybrid and Heterogeneous Optical Networks