How to stop your soda from exploding, according to science