Synthesis of castanospermine