The Canada France Redshift Survey VIII: Evolution of the clustering of galaxies from z~1