Enhanced charge carrier lifetime in layered 2D hybrid perovskites