Density changes of ytterbium trifluoride on phase transitions