Green Photonics and Smart Photonics