Interpretation of laser produced Au and W X-ray spectra in the 3 keV range