Preparation and characterization of BaTiO3 powders and ceramics by sol-gel process using hexanoic and hexanedioic acid as surfactant