The arctangent distribution and the simultaneous confidence intervals for trinomial proportions