Investigation of domain structure and switching processes in ferroelectrics by the liquid crystal method