Ellipsoidal corrections to order e2 of geopotential coefficients and Stokes’ formula