Supercooling of liquid-metal droplets for x-ray-absorption-spectroscopy investigations