Interactions between hydrogen and tungsten carbide: a first principles study