Phase transitions due to polar region structure in disordered ferroelectrics