MEMS residual stress characterization: methodology and perspective