Coupled-cluster response methods for NEXAFS, photoionization and more