Chemical, mechanical and electrical properties of CNx films produced by reactive sputtering and N+ implantation in carbon films