The dynamic observation of the formation of defects in silicon under electron and proton irradiation