The spectral energy distribution of normal, starburst, and active galaxies