On the Efficiency of Symbolic Computations Combined With Code Generation for Finite Element Methods