Temporal decorrelation of optical turbulence as a function of altitude in the atmosphere