Spectral-based k-corrections and implications for the colour-magnitude relation of E/S0s and its evolution