Phase transitions in centered-rectangular- and square-lattice-gas models