Electron inelastic mean free path measured by elastic peak electron spectroscopy for 24 solids between 50 and 3400 eV