Environmental and physiological conditions that led to the emergence of intracellular calcification