Efficient single-layer light-emitting diodes based on organic–inorganic lead halide perovskite and tuning luminescence properties