Automorphisms of permutational wreath products