Preparation of carboxylic acids or their salts, halides or anhydrides by oxidation with molecular oxygen of compounds containing six-membered aromatic rings without ring-splitting having alkyl side chains which are oxidised to carboxyl groups