Thermal transformation of yttrium hydroxides to yttrium oxides