Effects of impurities on the properties of BaTiO3 synthesized from barium titanyl oxalate