Ab initiocalculation of electron affinities of diamond surfaces | Synapse