In situ ion- and electron-irradiation effects studies in transmission electron microscopes