Computational prediction of core-level spectroscopy of metal-organic interfaces to reveal chemical interactions, bonding and behaviours