Domain formation and elastic long-range interaction in ferroelectric perovskites.