Search for sleptons in e+e- collisions at centre-of-mass energies of 161 GeV and 172 GeV