CVD induced by ion beams for the preparation of oxide and nitride thin films