Danvers baseball rallies by Swampscott in playoff classic