On the construction of exact solutions of the stationary axially symmetric Einstein equations