Electron spectroscopies and inelastic processes in nanoclusters and solids: Theory and experiment