Layer-dependent characterization of two-dimensional lead-halide perovskite crystals