Measuring and Correcting the Effects of Scintillation in Astronomy