Nanoporous Gold: From Structure Evolution to Functional Properties in Catalysis and Electrochemistry