Caustic envelopes and cusp coordinates due to the reflection of a spherical wave from a layered sediment