Charmonium suppression and regeneration from SPS to RHIC