Hydrogen purification methods