Measurement of atomic kinetics of solidification using peltier heating and cooling—I. theory