Integrally closed pairs