A soft X-ray fluorescence spectrometer for studies of molecular electronic structure