Measurement of residual internal stresses in optical fiber preforms