Ab initio calculations on ring-shaped silica clusters