Application of cluster expansion techniques to open shells: Calculation of difference energies