Measurement of x-ray absorption spectra of photoresists using a silicon lithium detector