Properties of defect centres on nanothick silica layers: an ab initio investigation