Organic–inorganic tandem route to polymer nanocomposites: kinetic products versus thermodynamic products