Composition-Dependent Optoelectronic Properties of Mixed 2D/3D Metal Halide Perovskite Films for Light-Emitting Diodes