by exposing the substrates to reactive gases intermittently