Three-dimensional charge density wave in the dual heavy fermion system U Pt2Si2