Electron energy distribution functions in He/N2 mixtures in the presence of metastable states