Thermal recovery of self-radiation damage in uraninite and thorianite