Anisotropy of Nonlinear-Optical Property of RCOB (R= Gd, Y) Crystal