Decomposition of an organometallic compound, a metal complex or a metal salt of a carboxylic acid