Mechanism of the pyrophosphate migration in the enzymatic cyclization of geranyl and linalyl pyrophosphates to (+)- and (-)-bornyl pyrophosphates.