Resonances in area-preserving maps