Extreme enhancement of the quality (Q)-factor and mode field intensity in cavity-resonator gratings