Good reduction of complete intersections