Electrodeposition of platinum and silver into chemically-modified microporous silicon electrodes