Mathematical description of bacterial traveling pulses