Structural, electronic, and dynamical properties of theC(001)−(2×1)surface