Reaction field effects on the electronic structure of carbon radical and ionic centers