Applications of nano- and mesoporous gold in electrodes and electrochemical sensors