Communication: X-ray absorption spectra and core-ionization potentials within a core-valence separated coupled cluster framework