Constructing black hole solutions in supergravity theories