Metamaterial window glass for adaptable energy efficiency