Viscous shock-layer flows over bodies during reentry