Modulating spectroelectrochemical properties of [Ni( salen)] polymeric films at molecular level