Effect of oxygen and hydrogen on the surface segregation of amorphous and crystalline Zr alloys