Applications of shape memory alloys in optics.