Residual stresses and crystallographic texture in hard-chromium electroplated coatings