Surface acoustic wave scattering by substrate edges