Fermilab scientists identify sources of beam losses in accelerators