Convexity of the incomplete beta functions