Linear and nonlinear optical studies of two-dimensional Perovskites