The aggregation of nitrogen and the formation of A centres in diamonds