Finite element approximations of symmetric tensors in any dimension