High-Purity 2D Perovskite Thin Films: Role of Solvent Interactions for Solution-Processed Optoelectronic Materials