Possible n-type dopants in diamond and amorphous carbon