Light-managing nanomaterials for energy efficiency