A spectroscopic method for calibration of solar extreme ultraviolet instrumentation