Polar precursor ordering in BaTiO3 detected by resonant piezoelectric spectroscopy