Global design optimization in photonics: from high performance to fabrication robustness