Detection of mercury ions based on mercury-induced switching of enzyme-like activity of platinum/gold nanoparticles.