Dissipation in quasi-two-dimensional flowing foams