Anisotropic networks formed by photopolymerization of liquid-crystalline molecules