Dimers on two-dimensional lattices