Origin of alkali-rich volcanic and alkali-poor intrusive carbonatites from a common parental magma