Spectroscopic diagnostics in the VUV for solar and stellar plasmas