Piercing through Highly Obscured and Compton-thick AGNs in the Chandra Deep Fields. I. X-Ray Spectral and Long-term Variability Analyses