Generation and propagation of crackle sound and its relation to lung structure