Study of LiNbO3 and LiTaO3 ferroelectric domain structures using high-resolution x-ray diffraction under application of external electric field