Magnetic structure and phase transition in TbPdSn compound