Two major Panama Canal ports have been sold from their Hong Kong owner to a consortium including American multinational investment company BlackRock.