Self-deployable contracting-cord metamaterials with tunable mechanical properties