Propagation of acoustic waves in foams