Aggregated gallic acid-modified platinum nanoparticles as colorimetric sensor for tannic acid detection in beverages based on displacement phenomenon