Ridgefield tops Greenwich in softball slugfest