Text this: Spectral fingerprint in X-ray absorption for hydrogen-bonded dimer formation of acetic acids in solution