Impurity behaviour during neutral-beam injection and gas puffing into ORMAK