A tristable compliant micromechanism with two serially connected bistable mechanisms