The role of amorphous precursors in the crystallization of La and Nd carbonates.