Templating behavior of a long-chain ionic liquid in the hydrothermal synthesis of mesoporous silica.