Usefulness of photon mass attenuation coefficients in elemental analysis