The double-integral centroid formulas