Relationship between surface structure, growth mechanism, and trace element incorporation in calcite