Epoxide opening versus silica condensation during sol-gel hybrid biomaterial synthesis.