Divisor class groups of rational trinomial varieties