Spectral Evolution of Galaxies