Gates apologizes the killing of nine Afghan children