Compliant mechanosensory composite (CMC): a compliant mechanism with an embedded sensing ability based on electric contact resistance