General helices and a theorem of Lancret