Preparation of O-metal compounds with O-metal group bound to a carbon atom belonging to a six-membered aromatic ring