Sitting on your glasses is no longer a death sentence for spectacles, thanks to shape memory alloys like nitinol