Dye-doped liquid crystals as materials for optical information processing