A simple method to estimate the oxidation state of polyanilines