Self-adjusting smart windows based on polymer-dispersed liquid crystals