Lensing by galaxies in CNOC2 fields