Intelligent optical management for energy-efficient windows driven by mechano-thermochromism