SH waves in a layer with temperature dependent properties