Complex magnetic ordering in RE5Pd2In4 (RE = Tb-Tm) compounds investigated by neutron diffraction and magnetometric measurements