Observations of carbon radio recombination lines with the NenuFAR telescope: I. Cassiopeia A and Cygnus A