Monte-Carlo simulation of defect-cluster nucleation in metals during irradiation