Dynamic dehydration observation based on terahertz in-line digital holography