Beta-decay energies and masses of short-lived isotopes of rubidium, caesium, francium, and radium