Magnetic properties of TbCu4Pd and TbCu4Pt