Mechanism of the Os-Catalyzed Oxidative Cyclization of 1,5-Dienes.