Ridgway baseball edged by Smethport after late-inning rally