A survey of Mechanical failure and design for Reliability of MEMS