Three-dimensional photoelastic study of stresses in rack gears