New ellipsoidal confocal coordinates and geodesics on an ellipsoid