Direct formation of the steroid nucleus by a biomimetic cyclization