Theoretical and experimental efficiency of the conversion of heat into mechanical energy using shape‐memeory alloys