Electronic and magnetic properties of C-adsorbed graphene: a first-principles study.