Multilayer modeling of thermoacoustic sound generation for thermophone analysis and design