Coulomb impurity problem of graphene in magnetic fields