Semiclassical resonances generated by a closed trajectory of hyperbolic type