Class of potentials with extremely narrow resonances. I. Case with discrete rotational symmetry