Many-body density matrices on a two-dimensional square lattice: Noninteracting and strongly interacting spinless fermions