Quasi-one-dimensional analysis on thrust performance of ramjet and scramjet