Black holes and branes in string theory