Spectral energy distributions of type 1 AGN in XMM-COSMOS - II. Shape evolution