Derivations as square roots of Dirichlet forms