A matrix approach to resolution enhancement of XPS spectra by a modified maximum entropy method