Spectral sum rules of the Dirac operator and partially quenched chiral condensates