A FORTRAN program for testing trend and homogeneity in proportions