Recent progress of the optoelectronic properties of 2D Ruddlesden-Popper perovskites