Dielectric and piezoelectric properties of sol-gel-derived barium titanate ceramics