Reconsidering the accuracy of X-ray fluorescence and ion beam based methods when used to measure the thickness of ancient gildings