Deep neural network for x-ray photoelectron spectroscopy data analysis