Effect of thermal expansion on flame propagation in channels with nonslip walls