Williams and Welch scored half-centuries for the visitors, but they lost their last five wickets for 27 runs