Bifunctional polymer-dispersed liquid crystals