Role of magnesium in the growth of calcium oxalate monohydrate and calcium oxalate dihydrate crystals.