Hydrogen doping and the metal-insulator phase transition in vanadium dioxide