Complex zeros of the partition function for lattice QCD