Mean-Life Measurements of Excited Electronic States in Perturbed Series of Al II and Be I