Proton-beam emittance growth in SPS coasts