Formation and Encapsulation of Lead Halide Perovskites in Lanthanide Metal-Organic Frameworks for Tunable Emission.