Theoretical insight into stereoselective reaction mechanisms of 2,4-pentanediol-tethered ketene-olefin [2 + 2] cycloaddition.