The polarization-modulated electronic structure and giant tunneling-electroresistance effect of a one-dimensional ferroelectric Ta4OTe9I4 nanowire