Carbon and hydrogen radio recombination lines from H II regions