The Propagation of Strong Shocks into Planetary and Stellar Atmospheres