Simultaneous bulk and surface microanalyis by electron spectroscopy