Anti-de Sitter Space from Optimization of Path Integrals in Conformal Field Theories.