Many-body calculation of electron affinities: C2 and a prediction for P2