Depth dependence of strain, mosaicity and sharp component in the critical scattering of SrTiO3