Equilibrium and metastable solidification in Ti-Al-Nb and Al-Ni systems