Optimization of deposition parameters in ion-assisted deposition of optical thin films