Measurement of mechanical properties of nitinol stent