Electrochemically tunable surface-plasmon-enhanced diffraction gratings and their (bio-)sensing applications.