Diffusion induced residual stress in comb-type microaccelerometer structure