Domain configuration and equilibrium size of domains in BaTiO3 ceramics