First measurement of beta decay half-lives in neutron-rich Tl and Bi isotopes