Pair-correlation function and single-particle occupation numbers in diamond and silicon.