Diffraction of transient horizontal shear waves by a finite crack and a finite rigid ribbon