Cross sections and rates of resonant thermonuclear reactions