Amorphous CNx films prepared by electrochemical deposition