Modelling of irradiation-induced hardening in metals using dislocation dynamics