Optimal design of 3D printed spiral torsion springs