Federal judge says Arizona sheriff was racially profiling