Thermal and magnetic studies of the nearly one-dimensional antiferromagnetic system CsNiBr3