Speckle Photography in Measuring Thermal Expansion