Distributions of electric and elastic fields at 90 degrees domain boundaries in ferroelectric thin layer-various configurations