On the relationship between the Tits dimension and the visual dimension in the boundary of a CAT(0) group