Etching study of ferroelectric microdomains in LiNbO3 and MgO:LiNbO3