Masses of very neutron-deficient isotopes in the cadmium-to-cesium region