Static deformation of a uniform half space and of two welded half spaces due to two dimensional seismic sources