Three-dimensional viscous hypersonic flows over general bodies