Potentials producing maximally sharp resonances