Total synthesis of the tetracyclic lupin alkaloid (+)-allomatrine.