New technique to measure the mechanical quality factor of metals using spherical samples