Multiplicative semigroup automorphisms of upper triangular matrices over rings