The capacity of black holes to transmit quantum information