Structural preferences of single-walled silica nanostructures: nanospheres and chemically stable nanotubes.