Neutron diffraction studies of anharmonic temperature factors in BaF2