Federal judge Kozinski retires following sexual harassment allegations