Micromechanical Analysis of Residual Stress Effect in CVD-Processed Diamond Wafer