Lattice models for liquid crystals