Nonequilibrium Phase Transitions in Lattice Models