Chemical information from XPS: Theory and experiment for Ni(OH)2 | Synapse