Effect of gold and silver nanoislands on the electrochemical properties of carbon nanofoam