27Al NMR study of the new heavy-fermion superconductors UM2Al3 (M = Ni, Pd)