Nonlinear optical properties of perovskite YMnO 3 studied by real-space recursion method