Crystallographic structure and magnetic ordering of UM2Al3 (M = Ni, Pd)