High-precision determination of residual stress of polycrystalline coatings using optimised XRD-sin2ψ technique