A study of the applicability of many-body central force potentials in NiAl and TiAl