Structure and luminescence properties of an amorphous hydrogenated carbon