Two identical cylindrical vessels with their bases at the same level each contain a liquid of density ρ. The area of either base is A but in one vessel the liquid is h1 and in the other liquid height is h2 (h2 < h1). If the two vessel are connected, the work done by gravity in equalizing the levels is