On the calculation of surface shear stress using the profile method