The reaction of atomic hydrogen with a-C:H and diamond films