Novel techniques for the control of the properties of reactively-sputtered thin films