Optical functionality of micro- and nanostructured silica surfaces prepared by a sol-gel phase separation method