Spectroelectrochemical behaviour of poly (3-octylthiophene): application to electrochromic windows with polyaniline and iridium oxide