Scattering of SH waves by a shallow rectangular cavity in an elastic half space