Inverse of the beta distribution function