Kinetics and mechanism of the hydrolysis and alcoholysis of alkoxysilanes