DIRECT MEASUREMENTS OF EXCITED-STATE LIFETIMES IN GROUP-II AND GROUP-III ATOMS