Dynamic measurement of near-field radiative heat transfer