X‐Ray Determination of Stresses in Thin Films and Substrates by Automatic Bragg Angle Control