Nearrings with given semigroup of dilatations