Structural and optical properties of nitrogen and oxygen doped a-C : H coatings