when is dc legends of tomorrow season 6 coming out