Nucleation, agglomeration and crystal morphology of calcium carbonate