Boundary rigidity and holography