Synthesis of the ABC- and D-ring systems of the indole alkaloid ambiguine G.