Ab initio study of defect sites at the inner surfaces of mesoporous silicas