Hydrodynamics of stochastic cellular automata