Linewidths in x-ray photoemission and x-ray emission spectroscopies: What do they measure?