Multifunctional gold coated rare-earth hydroxide fluoride nanotubes for simultaneous wastewater purification and quantitative pollutant determination