Characterizing Behaviors and Functions of Joints for Design of Origami-Based Mechanical Systems