Measurement of hadron and lepton-pair production at 161 GeV<root s<172 GeV at LEP