Influence of chemical and structural factors on the calcite–calcium oxalate transformation