The modelling of intermediate-age stellar populations - II. Average spectra for upper AGB stars, and their use