Formal charges and oxidation numbers