A kinetic model of membrane formation by CVD of SiO2 and Al2O3