Casimir force and its relation to surface tension