Bound states of black holes and other p-branes