Propagation of a strong spherical shock wave in a gravitating or non-gravitating dusty gas with exponentially varying density