Balancing equations by the oxidation number method