Writing of crystal lines and its optical properties of rare-earth ion (Er3+ and Sm3+) doped lithium niobate crystal on glass surface formed by laser irradiation