Improved measurement of CP violation in neutral B decays to c anti-c s