Fabrication of microcapsules for dye-doped polymer-dispersed liquid crystal-based smart windows