Causality and the speed of sound