Gas Permeation Study and Imperfection Detection of Thermally Grown and Deposited Thin Silicon Dioxide Films