Spectroscopic diagnostics of the elemental composition of the solar corona