The behaviour of ternary compounds InGaAs and GaAsN subjected to electron irradiation