Leguminosae alkaloids. VIII. Development of an improved synthesis of anagyrine as a potential route to other lupin alkaloids