Metal citrate polymerized complex thermal decomposition leading to the synthesis of BaTiO3: effects of the precursor structure on the BaTiO3 formation mechanism