Minimal surfaces and entanglement entropy in anti-de Sitter space