Properties of amorphous a-CH(:N) films synthesized by direct ion beam deposition and plasma-assisted chemical vapour deposition