Structural modifications in a-C:H films doped and implanted with nitrogen