Chemical and rheological investigations of the sol-gel transition in organically-modified siloxanes