Mass measurements of neutron-deficient Y, Zr, and Nb isotopes and their impact on rp and νp nucleosynthesis processes