Effect of molecular relaxation on the propagation of sonic booms through a stratified atmosphere