Functional Characterizations of Uniform Log-depth and Polylog-depth Circuit Families