Green light direct writing of ferroelectric domains in Mg-doped LiNbO_3