High resolution residual stress gradient characterization in W/TiN-stack on Si(100): Correlating in-plane stress and grain size distributions in W sublayer