Phase diagrams of the isotropic antiferromagnets RbMnF3 and KNiF3 from ultrasonic measurements