Self-assembled growth and optical emission of silver-capped silicon nanowires