Some properties of beta functions and the distribution for the product of independent beta random variables