Thermodynamics of strongly interacting fermions in two-dimensional optical lattices