Tight-binding effective hamiltonians for the electronic properties of polyanilyne chains