Computational study of electron-irradiation effects in carbon nanomaterials on substrates