Crystal structure of BaGd2NiO5 prepared by reaction of Ni metal with BaCO3 and Gd2O3