Enhancement of the reliability of MEMS shock sensors by adopting a dual-mass model