Title: Theoretical and computational studies of proton transfer, solvent effects and chemical shifts of core-binding energies